﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO.Ports;

namespace AAA.SerialPort.Printer
{
    public interface ICommand
    {
        byte[] NewLine { get;}
        byte[] NewPage { get;}

        byte[] CutReserve1 { get;}
        byte[] CutReserve3 { get;}

        byte[] NewPageCutReserve1 { get;}
        byte[] NewPageCutReserve3 { get;}

        byte[] BackToFirst { get;}

        byte[] DoubleWidth { get;}
        byte[] Underline { get;}
        byte[] Cancel { get;}

        byte[] ResetPrinter { get;}
        byte[] OnlyStub { get;}
        byte[] OnlyReceiver { get;}
        byte[] StubAndReceiver { get;}

        byte[] MoveLines(int iLines);
        byte[] PrintMark { get;}
        byte[] OpenCashDrawer1 { get;}
        byte[] OpenCashDrawer2 { get;}

        byte[] TransferCommand(object oCommandName);
        bool SendCommand(System.IO.Ports.SerialPort printer, byte[] bCommand);


    }
}
